package com.micro.common.service.web.client.domain.req.task;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("待办-创建待办请求体")
public class TaskEditReq {

    @ApiModelProperty("待办类型")
    @NotBlank(message = "待办类型不能为空")
    private String taskType;

    @ApiModelProperty("关联业务数据的id,消除待办使用这个值")
    @NotBlank(message = "业务数据的id不能为空")
    private String businessId;

    @ApiModelProperty("待办状态 待处理 10,已处理 20,已取消 30")
    @NotBlank(message = "待办状态不能为空")
    private String taskStatus;

    @ApiModelProperty("更新人")
    private String updater;

    @ApiModelProperty("更新人姓名")
    private String updaterName;
}
